<?
include_once($_SERVER['DOCUMENT_ROOT']."/lucy/config.php");
include_once(INC.'sess.php');
include_once(CLA."lucy_feelings.class.php");
include_once(CLA."speech.class.php");

$lucy_feeling = new Lucy_feelings();


if($_POST['word'] != ""){
	$str = str_replace(" ", "+", $_POST['word']);
	if(is_word($str)){
		$_SESSION['edit']['word'] = $str;
		$mod_name = "edit_word";
		$send = "<meta http-equiv='refresh' content=\"0;url=http://localhost/lucy/sys/mod/".$mod_name.".php?inSess=".session_id()."\">";
		echo $send;
	}
}
?>
<form method="POST" action="">
	<input type="text" name="word">
	<input type="submit" value="  OK  ">
</form>